@import "../../../../../assets/css/labb-lib";
.labb-image-slider {
  position: relative;
  padding: 0 0 40px 0;
  .labb-slide {
    position: relative;
    background: rgb(0, 0, 0) !important;
    .fl-photo:after {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      overflow: hidden;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      transition: opacity .4s ease-in-out 0s;
      opacity: 0.4;
      pointer-events: none; /* Let the url in the child element be clickable */
      }
    &:hover {
      .fl-photo:after {
        opacity: 0.2;
        }
      }
    .labb-caption {
      position: absolute;
      max-width: 700px;
      .labb-heading {
        font-size: 36px;
        line-height: 44px;
        font-weight: bold;
        margin: 0;
        color: #fff;
        a {
          color: #fff;
          &:hover {
            border-bottom: 2px solid #fff;
            }
          }
        }
      .labb-subheading {
        color: #b1b3b2;
        font-style: italic;
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 12px;
        font-weight: 400;
        }
      .labb-button {
        margin-top: 50px;
        color: #fefefe;
        }
      @include respond-to-max(600) {
        .labb-subheading {
          font-size: 14px;
          line-height: 22px;
          }
        .labb-heading {
          font-size: 22px;
          line-height: 30px;
          }
        .labb-button {
          margin-top: 30px;
          padding: 12px 25px;
          font-size: 11px;
          }
        }
      }
    }

  .labb-flex-direction-nav a, .labb-flex-direction-nav a:hover {
    color: #ddd;
    font-size: 32px;
    width: 36px;
    height: 36px;
    margin: -18px 0 0;
    transition: all .4s ease-in-out 0s;
    &.labb-flex-prev {
      left: 20px;
      }
    &.labb-flex-next {
      right: 20px;
      }
    }

  .labb-flex-direction-nav a:hover {
    color: #efefef;
    }

  button {
    &.slick-prev {
      left: 20px;
      }
    &.slick-next {
      right: 20px;
      }
    }
  button.slick-prev, button.slick-next, button.slick-prev:hover, button.slick-next:hover {
    font-size: 32px;
    width: 36px;
    height: 36px;
    margin: -18px 0 0;
    z-index: 10;
    }
  button.slick-prev, button.slick-next {
    &:before {
      font-size: 32px;
      color: #ddd !important;
      }
    &:hover:before {
      color: #fff !important;
      }
    }
  }
.labb-image-slider.labb-caption-style1 {

  .labb-caption {
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    transform: translateY(-50%);
    }
  }
.labb-image-slider.labb-caption-style2 {

  .labb-caption {
    bottom: 50px;
    left: 50px;
    text-align: left;
    margin: 0;
    padding: 0 20px;
    .labb-button {
      display: none;
      }
    @include respond-to-max(1024) {
      left: 20px;
      bottom: 30px;
      .labb-subheading {
        margin-bottom: 10px;
        }
      }
    @include respond-to-max(600) {
      left: 0;
      bottom: 20px;
      .labb-subheading {
        margin-bottom: 5px;
        }
      }
    }
  }
/* Nivo Slider Caption */

.labb-image-slider {
  .nivo-caption .labb-heading {
    color: #fff;
    font-size: 36px;
    line-height: 44px;
    font-weight: bold;
    margin: 0;
    a {
      color: #fff;
      &:hover {
        border-bottom: 2px solid #fff;
        }
      }
    }
  .nivo-caption .labb-subheading {
    margin-bottom: 10px;
    color: #b1b3b2;
    font-style: italic;
    font-size: 16px;
    line-height: 24px;
    }

  @include respond-to-max(600) {
    .nivo-caption .labb-subheading {
      font-size: 14px;
      line-height: 22px;
      }
    .nivo-caption .labb-heading {
      font-size: 22px;
      line-height: 30px;
      }
    }
  }
.labb-image-slider.labb-caption-style1 {
  .nivo-caption {
    left: 0;
    right: 0;
    top: 50%;
    bottom: initial;
    text-align: center;
    color: #fff;
    width: 100%;
    height: auto;
    padding: 25px 30px;
    max-width: 600px;
    margin: 0 auto;
    transform: translateY(-50%);
    }
  }
.labb-image-slider.labb-caption-style2 {
  .nivo-caption {
    padding: 25px 50px;
    .labb-heading {
      text-align: left;
      }
    @include respond-to-max(600) {
      padding: 10px 30px;
    }
    }
  }
